<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchTrainingTeacher.ascx.vb" Inherits="WebForm_ManageTrainingTeacher_SearchTrainingTeacher" %>
<table>
    <tr>
        <td>
            <table>
               <tr>
                <td align="right">
                    <asp:Label ID="lblTeacherName" runat="server" meta:resourcekey="lblTeacherName"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtTeacherName" runat="server" meta:resourcekey="txtTeacherName"></asp:TextBox>
                </td>
                <td>&nbsp;                    
                </td>
              </tr>
              <tr>
                 <td align="right">
                    <asp:Label ID="lblDescripton" runat="server" meta:resourcekey="lblDescripton"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtDescription" runat="server" meta:resourcekey="txtDescription"></asp:TextBox>
                </td>
                <td>
                    <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
                    <asp:Button ID="btnAdd" runat="server" meta:resourcekey="btnAdd" />
                </td>
              </tr>  
            </table>
        </td>
    </tr>
</table>
<br />
<My:MyGridView ID="gv" runat="server" SkinID="pager" AllowHoverSelect="False" DataKeyNames="TeacherID" AllowHoverEffect="False" MySortDirection="Ascending" meta:resourcekey="gv">
    <Columns>
        <asp:BoundField DataField="TeacherName" meta:resourcekey="bfTeacherName" />
        <asp:BoundField DataField="MobilePhone" meta:resourcekey="bfMobilePhone" />
        <asp:BoundField DataField="Description" meta:resourcekey="bfDescription" />
        <asp:TemplateField>
            <itemtemplate>
                <asp:Button ID="btnUpdate" runat="server" meta:resourcekey="btnUpdate" CommandName="Update" />               
            </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField>
            <itemtemplate>
                <asp:Button ID="btnDelete" runat="server" meta:resourcekey="btnDelete" CommandName="Delete" />
                            <ajaxToolkit:ConfirmButtonExtender ID="cbDelete" runat="server" TargetControlID="btnDelete"
                                meta:resourcekey="cbDelete">
                            </ajaxToolkit:ConfirmButtonExtender>                
            </itemtemplate>
        </asp:TemplateField>
    </Columns>
</My:MyGridView>
